TELCountCAs
Counts the non-idle call appearances currently associated with a directory number.
pascal short TELCountCAs ( TELDNHandle hTELDN, short internalExternal);
hTELDN
- A handle to a directory number structure for the number whose call appearances you want to count.
internalExternal
- A constant that specifies where a call appearance originates relative to the local switch or closed user group. The function counts only call appearances that meet the specification you provide here. You can use one of the constants described in "Call Origination Types" (page 4-13).
- function result
- The number of call appearances that fit the specification in the
internalExternal
parameter.DESCRIPTION
TheTELCountCAs
function counts non-idle call appearances--those whose state is nottelCAIdleState
--for a given directory number. Typically, you callTELCountCAs
at application start-up, in order to learn if any call appearances already exist.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help